package com.eascs.finance.admin.server.service.impl;

import java.util.List;

import javax.inject.Inject;

import com.alibaba.dubbo.config.annotation.Service;
import com.eascs.app.dao.PageResult;
import com.eascs.app.log.Logger;
import com.eascs.app.log.LoggerFactory;
import com.eascs.finance.admin.common.entity.ArticleEntity;
import com.eascs.finance.admin.common.entity.ArticleItemEntity;
import com.eascs.finance.admin.common.service.IArticlefoService;
import com.eascs.finance.admin.common.vo.ArticleQueryVO;
import com.eascs.finance.admin.server.manager.IArticleManager;
import com.eascs.finance.admin.web.service.ArticleServiceImpl;

@Service
public class ArticleInfoServiceImpl implements IArticlefoService {

	private final Logger logger = LoggerFactory.getLogger(ArticleServiceImpl.class);
	@Inject
	IArticleManager articleManager;
	@Override
	public PageResult<ArticleEntity> findFrontArticleInfo(ArticleQueryVO vo) {
		
		return articleManager.findFrontArticleInfo(vo);
	}
	@Override
	public List<ArticleItemEntity> getArticleItemList() {
	
		return articleManager.getArticleItemList();
	}
	@Override
	public ArticleEntity findArticleById(String id) {
		
		return articleManager.findArticleById(id);
	}
	@Override
	public boolean updateReadNum(String id) {
		
		return articleManager.updateReadNum(id);
	}

	
	

}
